.Net Framework > v2.0.50727 > System > Diagnostics > EventLog > CreateEventSource CreateEventSource(EventSourceCreationData)
CreateEventSource(String,String)
CreateEventSource(String,String,String)


CreateEventSource(EventSourceCreationData)

Category
Method
Description
Establishes an application as a valid event source for writing localized event messages, using the specified configuration properties for the event source and the corresponding event log.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceDataEventSourceCreationData
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateEventSource(String,String)

Category
Method
Description
Establishes an application, using the specified System.Diagnostics.EventLog.Source, as a valid event source for writing entries to a log on the local computer. This method can also create a new custom log on the local computer.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
logNameString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

CreateEventSource(String,String,String)

Category
Method
Description
Establishes an application, using the specified System.Diagnostics.EventLog.Source, as a valid event source for writing entries to a log on the computer specified by machineName. This method can also be used to create a new custom log on the specified computer.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
logNameString
machineNameString
Attributes
NameValue/Assignment
ObsoleteAttributeThis method has been deprecated. Please use System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) instead. http://go.microsoft.com/fwlink/?linkid=14202
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database